package swingxrcp.framework.model.domain;

/**
 * 实体基类
 *
 * @author 梁飞
 *
 */
public abstract class AbstractEntity implements Entity {

	// 实体ID
	private Long id;

	public Long getId() {
		return id;
	}

	/**
	 * 注入实体ID
	 *
	 * @param id 实体ID
	 */
	public void setId(Long id) {
		this.id = id;
	}

}
